package com.codi.bus.core.service.organ;

import com.codi.base.exception.BaseAppException;
import com.codi.bus.core.resultModel.*;
import com.codi.bus.exception.BaseException;

/**
 * Created by asus on 2018/5/8.
 */
public interface OrganAssetsService {
    AssetsResult queryOrganAssets(Long userId, Long profileId) throws BaseException;

    AssetsResult queryOrganWalletAssets(Long userId, Long profileId) throws BaseException;

    WalletDetailResultV2 getOrganWallet(Long userId, Long profileId) throws BaseAppException;

    WalletDetailResult getOrganWalletDetailByFundCode(Long userId, String fundCode, Long profileId) throws BaseAppException;

    CashChangeListResult getWalletCashChangeDetails(Long userId, String fundCode, Long profileId);

    ShareListResult queryOrganSharesWithoutPort(Long userId, Integer requestNum, Integer queryflag, Integer beginNum,
                                                String sortDirection, boolean filterT0, Long profileId) throws BaseException;

    BaseResult getProfit(Long userId, String fundCode, String type, Integer beginNum, Integer requestNum, Long profileId);

    BaseResult getAccum(Long userId, String fundCode, String type, Long profileId);

    BaseResult queryOrganFundShares(Long userId, String fundCode, Long profileId) throws BaseException;
}
